
package com.springcloud.sc.ucpv5.client.application.util;

public final class Constant {

	public final static boolean CORBA_CONNECTION = true;

	public final static String PLUGIN_ID = "dispatcher.client";
	public final static String LOCALHOST_IP = "127.0.0.1";
	public final static String CORBA_ENCODING = System.getProperty("file.encoding");
	public final static String PATH_SEPARATOR = System.getProperty("path.separator");
	public final static String FILE_SEPARATOR = System.getProperty("file.separator");
	public final static String LINE_SEPARATOR = System.getProperty("line.separator");
	public final static String MODULE_FRAMEWORK_ID = "1";
	public final static String MODULE_SECU_ID = "2";
	public final static String MODULE_DCSMAIN_ID = "3";
	public final static String MODULE_TOPO_ID = "3";
	public final static String MODULE_CONF_ID = "5";
	public final static String MODULE_MEDIA_ID = "10";
	public final static int MODULE_ID_DCSMAIN = 2;
	public final static int MODULE_ID_CONF = 5;
	public final static int Product_Normal = 0;
	public final static int Procuct_lineless = 1;
	public final static int AutoLogin_No = 0;
	public final static int AutoLogin_Yes = 1;

	public final static int ShowInfoMessage_No = 0;
	public final static int ShowInfoMessage_Yes = 1;


	public final static int ShowAutoLoginDlg_No = 0;
	public final static int ShowAutoLoginDlg_Yes = 1;


	public final static int ShowUpdateMessage_No = 0;
	public final static int ShowUpdateMessage_Yes = 1;


	public final static String MODULE_FRAMEWORK_ALIAS = "framework";
	public final static String MODULE_SECU_ALIAS = "secu";
	public final static String MODULE_DCSMAIN_ALIAS = "dcsmain";
	public final static String MODULE_HLR_ALIAS = "hlr";
	public final static String MODULE_TOPO_ALIAS = "topo";
	public final static String MODULE_DIAODU_ALIAS = "diaodu";





	public final static String CONFIG_DIRECTORY = FILE_SEPARATOR + "config" + FILE_SEPARATOR;
	public final static String CONFIG_DIRECTORY_COMM = CONFIG_DIRECTORY + "comm" + FILE_SEPARATOR;
	public final static String CONFIG_DIRECTORY_MODULE = CONFIG_DIRECTORY_COMM + "module" + FILE_SEPARATOR;
	public final static String CONFIG_DIRECTORY_ERRORCODE = CONFIG_DIRECTORY_COMM + "errcode" + FILE_SEPARATOR;
	public final static String CONFIG_DIRECTORY_CMDCODE = CONFIG_DIRECTORY_COMM + "cmdcode" + FILE_SEPARATOR;
	public final static String CONFIG_DIRECTORY_FRAMEWORK = CONFIG_DIRECTORY + MODULE_FRAMEWORK_ALIAS + FILE_SEPARATOR;
	public final static String CONFIG_DIRECTORY_SECU = CONFIG_DIRECTORY + MODULE_SECU_ALIAS + FILE_SEPARATOR;
	public final static String CONFIG_DIRECTORY_DCSMAIN = CONFIG_DIRECTORY + MODULE_DCSMAIN_ALIAS + FILE_SEPARATOR;
	public final static String CONFIG_DIRECTORY_DIAODU = CONFIG_DIRECTORY + MODULE_DIAODU_ALIAS + FILE_SEPARATOR;

	public final static String DATA_DIRECTORY = FILE_SEPARATOR + "data" + FILE_SEPARATOR;

	public final static String TRACE_DIRECTORY_PATH = FILE_SEPARATOR + "log" + FILE_SEPARATOR;
	public final static String TRACE_FILE_NAME = "trace.log";

	public final static String CONFIG_DIRECTORY_TOPO = CONFIG_DIRECTORY + MODULE_TOPO_ALIAS + FILE_SEPARATOR;


	public final static String MODULE_CONFIG_SUFFIX = "module-config.xml";


	public final static String FRAMEWORK_RESOURCE = "framework.resource";
	public final static String FRAMEWORK_RESOURCE_PATH = FILE_SEPARATOR + "resources" + FILE_SEPARATOR + "framework" + FILE_SEPARATOR;

	public final static String FRAMEWORK_MENUBAR_FILE = CONFIG_DIRECTORY_FRAMEWORK + "menubar-config.xml";
	public final static String FRAMEWORK_TOOLBAR_FILE = CONFIG_DIRECTORY_FRAMEWORK + "toolbar-config.xml";
	public final static String FRAMEWORK_STATUSLINE_FILE = CONFIG_DIRECTORY_FRAMEWORK + "statusline-config.xml";
	public final static String FRAMEWORK_TRAYMENU_FILE = CONFIG_DIRECTORY_FRAMEWORK + "traymenu-config.xml";

	public final static String USER_HOME_ROOT = System.getProperty("user.home") + FILE_SEPARATOR + "Application Data" + FILE_SEPARATOR + "����̨" + FILE_SEPARATOR;
	public final static String USER_HOME_FRAMEWORK = USER_HOME_ROOT + CONFIG_DIRECTORY + MODULE_FRAMEWORK_ALIAS + FILE_SEPARATOR;
	public final static String USER_HOME_SECU = USER_HOME_ROOT + CONFIG_DIRECTORY + MODULE_SECU_ALIAS + FILE_SEPARATOR;
	public final static String USER_HOME_DCSMain = USER_HOME_ROOT + CONFIG_DIRECTORY + MODULE_DCSMAIN_ALIAS + FILE_SEPARATOR;

	public final static String USER_HOME_TOPO = USER_HOME_ROOT + MODULE_TOPO_ALIAS + FILE_SEPARATOR;

	public final static String NAMING_SERVER = "cosname";


	public final static String LOG4J_CONFIG_FILE = CONFIG_DIRECTORY_FRAMEWORK + "style_log.properties";


	public final static int SECU_CMD_ID_START = 1000;

	public final static int SECU_CMD_ID_END = 1999;

	public final static int ACCESS_CMD_ID_START = 6000;

	public final static int ACCESS_CMD_ID_END = 6999;

	public final static int EVENT_CMD_ID_START = 7000;

	public final static int EVENT_CMD_ID_END = 7999;


	public final static int TOPO_CMD_ID_START = 2000;

	public final static int TOPO_CMD_ID_END = 2999;

	public final static int CMD_REGISTE_BOARDCAST = 6005;

	public final static int CMD_COMMUNICATION_SHAKEHAND = 5001;

	public final static byte SERVICE_TIMEOUT = 127;


	public final static short FRAMEWORK_SAP_ID = 1;

	public final static String SEPARATOR_ACTION_ID = "SeparatorAction";
	public final static String MENU_ACTION_ID = "MenuAction";

}
